package com.xja.warehouse.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xja.common.utils.PageUtils;
import com.xja.common.utils.Query;

import com.xja.warehouse.dao.InportDao;
import com.xja.warehouse.entity.InportEntity;
import com.xja.warehouse.service.InportService;


@Service("inportService")
public class InportServiceImpl extends ServiceImpl<InportDao, InportEntity> implements InportService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InportEntity> page = this.page(
                new Query<InportEntity>().getPage(params),
                new QueryWrapper<InportEntity>()
        );

        return new PageUtils(page);
    }

}